/**
 * OKR 树形视图样式
 */

.okr-tree-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 8px;
  padding: 20px;
}

.okr-tree-content {
  background: transparent;
}

.okr-connection-line {
  transition: stroke 0.2s ease;
}

.okr-connection-line:hover {
  stroke: #3b82f6;
  stroke-width: 3;
}

/* 节点悬浮效果 */
.okr-tree-content > div:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* 滚动条样式优化 */
.okr-tree-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.okr-tree-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.okr-tree-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.okr-tree-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .okr-tree-container {
    padding: 10px;
  }
}
